home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / SpaceSaver / Source / ModuleList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  775 b   |  43 lines

  1. //
  2. //  ModuleList.h
  3. //
  4. //  munged from Lennart Lovstrand's StringStorage class
  5. //  by sam to hold all the stuff BackSpace needs
  6.  
  7. #import <objc/List.h>
  8. #import <objc/objc-load.h>
  9.  
  10. @interface ModuleInfo:Object
  11. {
  12.     id    view;
  13.     char *viewName;
  14.     char *path;
  15.     char *altPaths;
  16.     struct mach_header *header;
  17. }
  18.  
  19. - init;
  20. - initWithView:aView name:(const char *) aName path:(const char *) aPath;
  21. - setView:newView;
  22. - view;
  23. - setHeader:(struct mach_header *) h;
  24. - (struct mach_header *) header;
  25. - (const char *) viewName;
  26. - (const char *) path;
  27. - setPath:(const char *) p;
  28. - appendPath:(const char *) p;
  29. - useNextPath;
  30. - discardAltPaths;
  31. - free;
  32.  
  33. @end
  34.  
  35. @interface ModuleList:List { }
  36.  
  37. - (const char *) nameAt:(int) i;
  38. - (int) indexOfName:(const char *) name;
  39. - viewAt:(int) i;
  40. - sort;
  41.  
  42. @end
  43.